package com.cqut.forum.service;

import java.util.List;
import java.util.Map;

import com.cqut.forum.entity.ArticleGroup;

/**
 * 博客分类接口
 * @author yangxun
 */
public interface ArticleGroupService {
	public ArticleGroup addArticleGroup(ArticleGroup articleGroup);
	
	public ArticleGroup getArticleGroup(String groupName);

	public ArticleGroup getGroupById(int groupId);
	
	public ArticleGroup deleteById(int groupId);
	
	public ArticleGroup updateArticleGroup(ArticleGroup articleGroup);
	
	public List<Map<String, Object>> loadGardenGroup();
	
	public List<ArticleGroup> getByOwnerId(int userId,int index,int size);
}
